@font-face {
    font-family: myFirstFont;
    src: url('../images/ZhiMangXing-Regular.ttf');
    font-weight:bold;
}
/* 使用替代盒模型 */
html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}
.background {
    position: fixed;
    width:100%;
    height:100%;
    left:0;
    top:0;
    bottom:0;
    right:0;
    transform: rotateX(180deg);
    z-index: -1;
}
body {
    height:100%;
    margin: 0;
    padding:0;
}
/* 使页脚永远在页面最底部 */
.main-part {
    min-height: calc(100vh - 100px);
}
header {
    display:flex;
    flex-direction: column;
}
.logo {
    margin: 3vh auto;
    font-size:2vw;
}
nav {
    margin-top:2vh;
    margin-left: 8vw;
}
label {
    font-family: myFirstFont;
    font-size : 1.7vw;
    padding-right: 1vw;
    color : rgba(28, 136, 219, 0.7);
    font-weight : bold;
    text-shadow: 4px 4px 5px rgb(152, 152, 213);
}
input {
    border: 3px solid rgb(47, 120, 176);
    background-color: rgb(47, 120, 176);
    border-radius: 5px;
    padding: 8px 1.7em;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    font-size:1vw;
}
input[type="search"] {
    border: 3px solid rgb(172, 171, 171);  
    background: rgba(255, 255, 255,0.2);  
    cursor: initial;
    width : 35vw;
    color:rgb(60, 60, 60)
}
input[type="button"] {
    margin-left: 1vw;
}
input[type="search"]:hover {
    border-color:rgb(134, 134, 134);
}
input[type="button"]:hover {
    background-color:rgb(22, 98, 157);
    border-color: rgb(22, 98, 157);
}
main {
    display: grid;
    grid-template-columns: 70% 30%;
    margin-top: 3vh;
}  
.search-page {
    margin-left: 8vw;
}
section {
    display: grid;
    grid-template-columns: 90% 8%;
    grid-gap: 10px;
    background-color: rgb(207,232,220);
    border: 2px solid rgb(79,185,227);
    padding: 5px;
    margin: 10px;
    border-radius: 5px;
    width:50vw;
    font-size: 1vw;
}
.detailContent {
    display: flex;
    flex-direction: column;
    justify-content:space-between;
}
section p {
    margin: 1px 0 1px 0;
    padding: 0;
}
section p:nth-of-type(2) {
    font-size: 0.8vw;
    font-weight: bold;
    color:rgb(93, 93, 93);
}
section a {
    display: block;
    border:2px solid rgba(227, 155, 46, 1);
    border-radius: 5px;
    height:5vh;
    background: rgba(227, 155, 46, 1);  
    transform: translateY(4%);
    text-align :center;
    font-size : 1.1vw;
    line-height:4.5vh;
    color:#fff;
    text-decoration: none;
    font-weight: bold;

}
section a:hover {
    color:blue;
}

aside {
    margin-left: -4vw;
}
aside h3 {
    font-size: 1.2vw;
}
aside ul {
    padding-left: 2rem;
    list-style-type: none;
    font-size:1vw;
}
aside ul li {
    margin-top:2vh;
    margin-left:-4.5vh;
    padding-left: 2rem;
    background-image: url(../images/star.png);
    background-position: 0 0;
    background-size: 1.2vw, 1.2vw;
    background-repeat: no-repeat;
}
aside li a {
    text-decoration: none;
}
aside li a:hover {
    text-decoration:underline;
}
footer {
    width:100%;
    height:120px;
    background-color: rgb(16, 59, 41);
    padding:15px;
    margin-top: 10px;
}
footer p {
    margin:0 auto;
    color: white;
    text-align: center;
    font-size: 1vw;
}